#pragma once
#include "../stdafx.h"
#include "../scene/Camera.h"
#include "math.h"
namespace SLG
{
	class Ray;
	class Coordinate
	{
	public:
		Coordinate(uint32,uint32);
		~Coordinate(void);
		void AddCamera(Camera*);
		
		D3DXVECTOR2 WorldToScreenCoord(D3DXVECTOR3*);
		Ray* ScreenToWorldCoord(D3DXVECTOR2*);

		Camera* m_Camera;
		uint32 m_hscreenWidth;
		uint32 m_hscreenHeight;
		uint32 m_screenWidth;
		uint32 m_screenHeight;
	};
}